package com.yc.cloud.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yc.cloud.common.orm.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 摄像头抓图记录表
 * </p>
 *
 * @author kinggu
 * @since 2025-10-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("hw_camera_snapshot_record")
public class HwCameraSnapshotRecord extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 摄像头ID
     */
    @TableField("camera_id")
    private Long cameraId;

    /**
     * 抓图策略ID
     */
    @TableField("strategy_id")
    private Long strategyId;

    /**
     * OSS文件ID
     */
    @TableField("file_id")
    private String fileId;

    /**
     * 缩略图OSS文件ID
     */
    @TableField("thumbnail_file_id")
    private String thumbnailFileId;

    /**
     * 逻辑删除: 0-未删除, 1-已删除
     */
    @TableField("is_deleted")
    private Boolean deleted;

    public static final String CameraId = "camera_id";
    public static final String StrategyId = "strategy_id";
    public static final String FileId = "file_id";
    public static final String ThumbnailFileId = "thumbnail_file_id";
    public static final String Deleted = "is_deleted";

} 